<?php $this->beginContent('/layouts/main'); ?>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span3">
			<div class="row">
				<?php if(!Yii::app()->user->isGuest) $this->widget('UserMenu'); ?>
			</div>
			<BR>
			<div class="row">
				<?php $this->widget('TagCloud', array(
					'maxTags'=>Yii::app()->params['tagCloudCount'],
				)); ?>
			</div>
			<BR>
			
			<BR>
			<div class="row">
				<?php 
					if(!Yii::app()->user->isGuest){ 
						$this->widget('RecentComments', array(
								'maxComments'=>Yii::app()->params['recentCommentCount'],
						)); 
					}
				?>
			</div>
		</div>
		
		<div class="span9">
			<div id="content">
				<?php echo $content; ?>
			</div><!-- content -->
		</div>
		
	</div>
</div>
<?php $this->endContent(); ?>
